home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 24
/
Amiga Format AFCD24 (Feb 1998, Issue 108).iso
/
-seriously_amiga-
/
shareware
/
programming
/
c
/
amivogl-mdev
/
makefile.sgi
< prev
next >
Wrap
Makefile
|
1998-01-12
|
979b
|
55 lines
#
# Makefile for vogl (On SGI-GL machines)
# Will only compile the Hershey library and the examples, linking with
# -lgl_s
#
SHELL = /bin/sh
#
CC = cc
#
# Where the fonts a going to live (For making the Hershey library)
#
#FONTLIB = /usr/local/lib/hershey/
FONTLIB = /tmp/decr
CFLAGS = -DSYS5 -O -float -DSGI
#
# The name of the library to install and where to put it.
#
LIBH = libhershey.a
DEST = /usr/local/lib
RANLIB = echo
LIBS = -lgl_s
all:
cd hershey/src; make -f Makefile.sgi \
CC="$(CC)" \
FONTLIB="$(FONTLIB)" \
LIBS="$(LIBS)"\
RANLIB="$(RANLIB)"
cd examples; make -f Makefile.sgi \
CC="$(CC)" \
CFLAGS="$(CFLAGS)" \
LIBS="$(LIBS)"
install:
cp hershey/src/$(HLIB) $(DEST)
chmod 644 $(DEST)/$(LIB)
$(RANLIB) $(DEST)/$(LIB)
clean:
cd hershey/src; make clean
cd examples; make clean
cd examples; make -f Makefile.f77 clean
clobber:
cd hershey/src; make clobber
cd examples; make clobber
cd examples; make -f Makefile.f77 clobber